<li class='upLoadLi'>
    <img  class="imglazyload"  src url="<%=pathImg%>photo_addicon.jpg"/>
    <input id="profileUploadPhoto"  accept="image/gif, image/jpeg, image/jpg" type="file" name="file">
    <div class='uploading'></div>
</li>
<% if (pictures != null || pictures != undefined) { %>
    <% for (var i in pictures) {%>
       <li class='photoListLi'><img class="imglazyload" src url="<%=pictures[i].picture%>"/></li>
    <% } %>
<% } %>
